import java.util.HashMap;
import java.util.Map;

public class test1 {
    public static void main(String[] args) {
        System.out.println("helllllloooooo");

        for(int i=0;i<100;i+=2) {
            System.out.printf("当前偶数为 %d\n",i);
        }
        System.out.println("");

        Map<Integer , String> map = new HashMap<Integer , String>();
        map.put(1,"Hadoop");
        map.put(2,"Java");
        map.put(3,"Spark");
        map.put(4,"linux");
        map.put(5,"计算机网络");

//        for(int i = 1;i<=map.size();i++) {
//            System.out.println("当前的value值为:" + map.get(i));
//        }
        for (int key :
                map.keySet()) {
            System.out.println("当前的key: " + key + " | 当前的value为: " + map.get(key));
        }
    }

    // git test
}
